export function isEmptyStr(str) {
    return typeof str == 'string' && !str.trim() || typeof str == 'undefined' || str === null;
};

export function isNullObj(obj) {
    return obj === undefined || obj == null || (Object.keys(obj).length === 0 && obj.constructor === Object);
};

export function isEmptyArray(arr) {
    return arr === undefined || arr == null || arr.constructor != Array || arr.length === 0;
};

